package com.shigu.linkage.sdks.requests;

import com.shigu.linkage.sdks.responses.TradeQueryResponse;

/**
 * 商户调用该接口查询订单信息
 */
public class TradeQueryRequest extends LinkageRequest<TradeQueryResponse>{
    private String channelOrderNo;//平台订单号
    private String orderNo;//商户订单号
    private String merchantCode;//商户号
    private String subMerchantCode;//子商户号

    public String getChannelOrderNo() {
        return channelOrderNo;
    }

    public void setChannelOrderNo(String channelOrderNo) {
        this.channelOrderNo = channelOrderNo;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getMerchantCode() {
        return merchantCode;
    }

    public void setMerchantCode(String merchantCode) {
        this.merchantCode = merchantCode;
    }

    public String getSubMerchantCode() {
        return subMerchantCode;
    }

    public void setSubMerchantCode(String subMerchantCode) {
        this.subMerchantCode = subMerchantCode;
    }

    @Override
    public String selUrl() {
        return "/fastPayRouter/tradeQuery";
    }

    @Override
    public Class<TradeQueryResponse> responseClass() {
        return TradeQueryResponse.class;
    }
}
